import logging.config
from dotenv import load_dotenv
import os

load_dotenv()

http_login = os.getenv('HTTP_LOGIN')
http_pwd = os.getenv('HTTP_PWD')

base_http = os.getenv('base_http')
base_http2 = os.getenv('base_http2')

# FillRJ_url = base_http2 + 'REQUEST/hs/Request/Refbot/FillRJ'
#
#
# soap_url = base_http + 'ukt/ws/'
# odata_url = base_http + 'ODATA/Odata/standard.odata/'


#odata_url = base_http + 'BOT/Odata/standard.odata/'

#рабочая версия


FillRJ_url = base_http2 + 'ukt_dev1/hs/Request/Refbot/FillRJ'

soap_url = base_http + 'ukt_dev1/ws/'
odata_url = base_http + 'ukt_dev1/Odata/standard.odata/'

#end

TmrpInfoBot = os.getenv('TmrpInfoBot')
TmrpRefBot = os.getenv('TmrpRefBot')
TmrpCronBot = os.getenv('TmrpCronBot')


proxy = {'proxy_url': 'http://localhost:8118/'}
chanel = {"idk":"-1001328249395'",
         "ship_export":"",
         "ship_import":"",
         "auto_export":"",
         "auto_import":"",
         "train":"",
         "dogovor_inf":"-1001365910772",
         "dogovor_exp":"-1001480916052",
        "it":""}
'''logging.config.dictConfig({
    'version': 1,
    'formatters': {
        'verbose': {
            'format': '%(name)s: %(message)s'
        }
    },
    'handlers': {
        'console': {
            'level': 'DEBUG',
            'class': 'logging.StreamHandler',
            'formatter': 'verbose',
        },
    },
    'loggers': {
        'zeep.transports': {
            'level': 'DEBUG',
            'propagate': True,
            'handlers': ['console'],
        },
    }
})
'''
